<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<link href="images/reset.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<link href="images/system.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<link href="images/table_form.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<!--[if IE 6]>
<script src="./js/png.js?v={yun:}$config.cachecode{/yun}"></script>
<script>
  DD_belatedPNG.fix('.png,.admin_infoboxp_tj,');
</script>
<![endif]-->
<script src="{yun:}$config.sy_weburl{/yun}/js/jquery-1.8.0.min.js?v={yun:}$config.cachecode{/yun}"></script>
<link href="{yun:}$config.sy_weburl{/yun}/js/layui/css/layui.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<script src="{yun:}$config.sy_weburl{/yun}/js/layui/layui.js?v={yun:}$config.cachecode{/yun}"></script>
<script src="{yun:}$config.sy_weburl{/yun}/js/layui/phpyun_layer.js?v={yun:}$config.cachecode{/yun}"></script>
<script type="text/javascript" src="js/admin_public.js?v={yun:}$config.cachecode{/yun}"></script>
<script type="text/javascript" src="js/show_pub.js?v={yun:}$config.cachecode{/yun}"></script>  
<title>后台管理</title>
<script>
$(document).ready(function() {
	$(".preview").hover(function(){  
		var pic_url=$(this).attr('url');
		layer.tips("<img src="+pic_url+" style='max-width:120px'>", this, {
			guide:3,
			style: ['background-color:#5EA7DC; color:#fff;top:-7px;left:-20px', '#5EA7DC']
		});
		$(".xubox_layer").addClass("xubox_tips_border");
	},function(){layer.closeAll('tips');});  

	$.get("index.php?m=admin_hotjob&c=hotNum", function(data) {
		var datas = eval('(' + data + ')');
		if(datas.hotAllNum) {
			$('.ajaxhotall').html(datas.hotAllNum);
		}
		if(datas.hoted) {
			$('.ajaxhoted').html(datas.hoted);
		}
		 
	});
	 
});
</script>
</head>

<body class="body_ifm" style="font-size:12px; line-height:20px;">
<div class="infoboxp"> 

<div class="admin_new_tip">
<a href="javascript:;" class="admin_new_tip_close"></a>
<a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
<div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
<div class="admin_new_tip_list_cont">
<div class="admin_new_tip_list">该页面展示了网站所有的名企招聘信息，可对名企招聘进行编辑修改操作。</div>
<div class="admin_new_tip_list">可输入名称关键字进行搜索，也可进行详细的高级搜索。</div>
</div>
</div>
<div class="clear"></div>
<div class="admin_new_search_box">
 <form action="index.php" name="myform" method="get" >
 <input type="hidden" name="m" value="admin_hotjob"/>
<input type="hidden" name="status" value="{yun:}$smarty.get.status{/yun}"/>
<input type="hidden" name="rec" value="{yun:}$smarty.get.rec{/yun}"/>
<input type="hidden" name="time" value="{yun:}$smarty.get.time{/yun}"/>
<input type="hidden" name="rating" value="{yun:}$smarty.get.rating{/yun}"/>
<div class="admin_new_search_name">搜索类型：</div>

<div class="admin_Filter_text formselect" did="dctype">
        <input type="button" {yun:}if $smarty.get.ctype=='2'{/yun} value="备注" {yun:}else{/yun} value="企业名称" {yun:}/if{/yun} class="admin_new_select_text" id="bctype">
        <input type="hidden" name="ctype" id="ctype"/>
        <div class="admin_Filter_text_box" style="display:none" id="dctype">
          <ul>
            <li><a href="javascript:void(0)" onClick="formselect('1','ctype','企业名称')">企业名称</a></li>
            <li><a href="javascript:void(0)" onClick="formselect('2','ctype','备注')">备注</a></li>
          </ul>
        </div>
      </div>
 <input type="text" placeholder="输入你要搜索的关键字" name="keyword" class="admin_new_text">
	<input type="submit" value="搜索" class="admin_new_bth"/>

<a  href="javascript:void(0)" onclick="$('.admin_screenlist_box').toggle();"   class="admin_new_search_gj">高级搜索</a>


  </form>
 {yun:}include file="admin/admin_search.htm"{/yun}
</div>
<div class="clear"></div>
	
<div class="admin_statistics">
            数据统计：
	<em class="admin_statistics_s">总数：<span class="ajaxhotall">0</span></em>
 	<em class="admin_statistics_s">已到期：<span class="ajaxhoted">0</span></em>
	搜索结果：<span>{yun:}$total{/yun}</span>；
 </div>

 <div class="table-list">
    <div class="admin_table_border">
      <iframe id="supportiframe"  name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
      <form action="index.php" name="myform" method="get" id='myform' target="supportiframe">
      <input type="hidden" name="pytoken"  id='pytoken' value="{yun:}$pytoken{/yun}">
        <input name="m" value="admin_hotjob" type="hidden"/>
        <input name="c" value="del" type="hidden"/>
        <table width="100%">
          <thead>
            <tr class="admin_table_top" >
              <th style="width:20px;"> <label for="chkall"><input type="checkbox" id='chkAll'  onclick='CheckAll(this.form)'/></label></th>
              <th> {yun:}if $smarty.get.t=="uid" && $smarty.get.order=="asc"{/yun} <a href="{yun:}searchurl order=desc t=uid m=admin_hotjob untype='order,t'{/yun}">用户ID<img src="images/sanj.jpg"/></a> {yun:}else{/yun} <a href="{yun:}searchurl order=asc t=uid m=admin_hotjob untype='order,t'{/yun}">用户ID<img src="images/sanj2.jpg"/></a> {yun:}/if{/yun} </th>
              <th align="left">企业名称</th>
              <th  width="78" align="center">会员等级</th>
              <th width="78">名企图片</th>
              <th width="70">服务价格</th>
              <th width="70">开始时间</th>
              <th width="70">结束时间</th>
              <th>备注</th>
              <th class="admin_table_th_bg">操作</th>
            </tr>
          </thead>
          <tbody>
       {yun:}foreach item=v key=key from=$rows{/yun}
          <tr align="center" {yun:}if ($key+1)%2=='0'{/yun}class="admin_com_td_bg"{yun:}/if{/yun} id="list{yun:}$v.uid{/yun}">
            <td><input type="checkbox" value="{yun:}$v.uid{/yun}" class="check_all"  name='del[]' onclick='unselectall()' rel="del_chk" /></td>
           <td align="left" class="td1" style="text-align:center;"><span>{yun:}$v.uid{/yun}</span></td>
            <td  style="width:180px" align="left">
			<div style="width:180px;"><a href="index.php?m=admin_company&c=Imitate&uid={yun:}$v.uid{/yun}" target="_blank" class="admin_cz_sc">{yun:}$v.username{/yun}</a></div></td>            
			<td align="center"><div class="admin_table_w84">{yun:}$v.rating{/yun}</div></td>
            <td><div class="admin_table_w84">{yun:}if $v.hot_pic{/yun}<a href="javascript:void(0)" class="preview admin_n_img" url="{yun:}$v.hot_pic{/yun}"></a>{yun:}else{/yun}无{yun:}/if{/yun}</div></td>
             <td><div class="admin_table_w84">{yun:}$v.service_price{/yun}元</div></td>
			<td><div class="admin_table_w84">{yun:}$v.time_start|date_format:"%Y-%m-%d"{/yun}</div></td>
			<td>
				<div class="admin_table_w84">
					{yun:}if $v.time_end <= time(){/yun}
						<b style="color:red;">{yun:}$v.time_end|date_format:"%Y-%m-%d"{/yun}<br>已到期</b>
					{yun:}else{/yun}
						{yun:}$v.time_end|date_format:"%Y-%m-%d"{/yun}
					{yun:}/if{/yun}
				</div>
			</td>
             <td><div  class="">{yun:}if $v.beizhu{/yun}{yun:}$v.beizhu{/yun}{yun:}else{/yun}未备注{yun:}/if{/yun}</div></td>
            <td>
      
          <div class="admin_new_bth_c"> <a href="javascript:void(0);" onClick="showdiv8('{yun:}$v.uid{/yun}');" class="admin_new_c_bth admin_new_c_bthxg">修改</a> <a href="javascript:void(0);" onClick="layer_del('确定要取消该名企？','index.php?m=admin_hotjob&c=del&id={yun:}$v.uid{/yun}');" class="admin_new_c_bth  admin_new_c_bth_sc">删除</a></div>
          
            </td>
          </tr>
          {yun:}/foreach{/yun}
		<tr>
			<td align="center"><label for="chkall2"><input type="checkbox" id='chkAll2' onclick='CheckAll2(this.form)' /></label></td>
			<td colspan="9" >
				<input class="admin_button" type="button" name="delsub" value="删除所选" onClick="return really('del[]')" />
			</td>
		</tr>
		 
		{yun:}if $total > $config.sy_listnum {/yun}
			<tr>
				{yun:}if $pagenum==1{/yun}
					<td colspan="3"> 从 1 到 {yun:}$config.sy_listnum {/yun} ，总共 {yun:}$total{/yun} 条</td>
				{yun:}else if $pagenum > 1 && $pagenum < $pages{/yun}
					<td colspan="3"> 从 {yun:}($pagenum-1) * $config.sy_listnum + 1{/yun} 到 {yun:}$pagenum * $config.sy_listnum{/yun} ，总共 {yun:}$total{/yun} 条</td>
				{yun:}else if $pagenum == $pages{/yun}
					<td colspan="3"> 从 {yun:}($pagenum-1) * $config.sy_listnum + 1{/yun} 到 {yun:}$total{/yun} ，总共 {yun:}$total{/yun} 条</td>
				{yun:}/if{/yun}
				<td colspan="7" class="digg">{yun:}$pagenav{/yun}</td>
			</tr>
		{yun:}/if{/yun}
          </tbody>

        </table>
      </form>
    </div>
  </div>
</div> 
</body>
</html>